# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nemo-qml-plugin-settings
pkgver=0.1.1
pkgrel=0
pkgdesc="Nemomobile QML wrapper for QSettings class"
url="https://github.com/nemomobile-ux/nemo-qml-plugin-settings"
arch="all"
license="LGPL-2.0-or-later"
makedepends="
	cmake
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
source="https://github.com/nemomobile-ux/nemo-qml-plugin-settings/archive/$pkgver/nemo-qml-plugin-settings-$pkgver.tar.gz"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="5ae915c546cd981a6a3c54aeb0172a1038a60c09d530af91909223e508514824dc56be8a367af0f3176222ce1523c2ec5ac08d820d626bf5007e9f2eec23706c  nemo-qml-plugin-settings-0.1.1.tar.gz"
